import request from '@/utils/request'


// 用户头像上传
export function uploadAvatar(data) {
    return request({
        url: '/uploads',
        method: 'post',
        headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
        data: data
    })
}
